QT       += core gui network concurrent

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets core

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    src/client/controller/SignalBus.cpp \
    # src/client/models/CommonData.cpp \
    src/client/network/HttpClient.cpp \
    src/client/ui/pages/HomePage.cpp \
    src/client/ui/pages/SettingPage.cpp \
    src/client/ui/widgets/Navigatebar.cpp \
    src/client/ui/widgets/panel/AlarmReport/MachAlarmReportPanel.cpp \
    src/client/ui/widgets/panel/CheckIn/CheckInPanel.cpp \
    src/client/ui/widgets/panel/CheckOut/CheckoutPanel.cpp \
    src/client/ui/widgets/panel/HeartbeatDetection/HeartbeatPanel.cpp \
    src/client/ui/widgets/panel/MatchProcParamCollect/MatchProcParamCollectPanel.cpp \
    # src/mes/utils/Network/NetworkManager.cpp \
    # src/mes/utils/Network/NetworkTask.cpp \
    # src/mes/utils/NetworkTypes/request/BaseRequest.cpp \
    # src/mes/utils/NetworkTypes/request/BatchCheckInRequest.cpp \
    # src/mes/utils/NetworkTypes/request/BatchCheckOutRequest.cpp \
    # src/mes/utils/NetworkTypes/request/HeartbeatDetectionRequest.cpp \
    # src/mes/utils/NetworkTypes/request/MatchAlarmReportRequest.cpp \
    # src/mes/utils/NetworkTypes/request/MatchProcParamCollectRequest.cpp \
    # src/mes/utils/NetworkTypes/response/BaseResponse.cpp \
    # src/mes/utils/NetworkTypes/response/BatchCheckInResponse.cpp \
    # src/mes/utils/NetworkTypes/response/BatchCheckOutResponse.cpp \
    # src/mes/utils/NetworkTypes/response/HeartbeatDetectionResponse.cpp \
    # src/mes/utils/NetworkTypes/response/MatchAlarmReportResponse.cpp \
    # src/mes/utils/NetworkTypes/response/MatchProcParamCollectResponse.cpp \
    # src/mes/utils/TaskManager.cpp \
    src/main.cpp \
    src/MainWindow.cpp \
    src/client/ServerClient.cpp

HEADERS += \
    src/MainWindow.h \
    src/client/ServerClient.h \
    src/client/controller/SignalBus.h \
    src/client/models/AlarmReportData.h \
    src/client/models/BaseData.h \
    src/client/models/CheckInData.h \
    src/client/models/CheckoutData.h \
    src/client/models/CommonData.h \
    src/client/models/HeartbeatDetectionData.h \
    src/client/models/MatchProcParamCollectData.h \
    src/client/network/HttpClient.h \
    src/client/ui/pages/HomePage.h \
    src/client/ui/pages/SettingPage.h \
    src/client/ui/widgets/Navigatebar.h \
    src/client/ui/widgets/panel/AlarmReport/MachAlarmReportPanel.h \
    src/client/ui/widgets/panel/CheckIn/CheckInPanel.h \
    src/client/ui/widgets/panel/CheckOut/CheckoutPanel.h \
    src/client/ui/widgets/panel/HeartbeatDetection/HeartbeatPanel.h \
    src/client/ui/widgets/panel/MatchProcParamCollect/MatchProcParamCollectPanel.h \
    # src/mes/utils/Network/Network.h \
    # src/mes/utils/Network/NetworkManager.h \
    # src/mes/utils/Network/NetworkTask.h \
    # src/mes/utils/NetworkTypes/NetworkTypes.h \
    # src/mes/utils/NetworkTypes/request/BaseRequest.h \
    # src/mes/utils/NetworkTypes/request/BatchCheckInRequest.h \
    # src/mes/utils/NetworkTypes/request/BatchCheckOutRequest.h \
    # src/mes/utils/NetworkTypes/request/HeartbeatDetectionRequest.h \
    # src/mes/utils/NetworkTypes/request/MatchAlarmReportRequest.h \
    # src/mes/utils/NetworkTypes/request/MatchProcParamCollectRequest.h \
    # src/mes/utils/NetworkTypes/response/BaseResponse.h \
    # src/mes/utils/NetworkTypes/response/BatchCheckInResponse.h \
    # src/mes/utils/NetworkTypes/response/BatchCheckOutResponse.h \
    # src/mes/utils/NetworkTypes/response/HeartbeatDetectionResponse.h \
    # src/mes/utils/NetworkTypes/response/MatchAlarmReportResponse.h \
    # src/mes/utils/NetworkTypes/response/MatchProcParamCollectResponse.h \
    # src/mes/utils/TaskManager.h

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
